package com.sright.bcard.common.service.share.dto.content;

import com.sright.bcard.common.service.share.dto.BaseDomain;
import lombok.Data;

import java.util.List;
@Data
public class CardMaterialDetailDTO extends BaseDomain {
    private static final long serialVersionUID = -9060310183322416623L;

    /**
     * part : card
     * material : [{"id":144,"type":1,"cover":"card/2020/05/09/6fa8209de626bdc0afe55b501a97bdca.jpeg","file_path":"transcode/5a69306346f621a874ad83053843e988/8eac0d341684ffb5273fdbc962788138.mp4"},{"id":145,"type":3,"cover":"","file_path":"card/2020/04/15/362ea3da5ffee7c7e3f756edddde977d.jpeg"}]
     */

    private String part;
    private List<MaterialBean> material;

    @Data
    public static class MaterialBean {
        /**
         * id : 144
         * type : 1
         * cover : card/2020/05/09/6fa8209de626bdc0afe55b501a97bdca.jpeg
         * file_path : transcode/5a69306346f621a874ad83053843e988/8eac0d341684ffb5273fdbc962788138.mp4
         */

        private Long id;
        private Integer type;
        private String cover;
        private String filePath;
        private String borderColor;
        private String button;
        private Integer isInteraction;
    }
}
